﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PasswordModify.aspx.cs" Inherits="IBMS.Page.PasswordModify" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <link rel="stylesheet" type="text/css" href="../../Styles/css.css" />
    <script src="../../Scripts/lk.js"></script>
    <script src="../Scripts/jquery-1.8.2.min.js"></script>
    <script src="../Scripts/prefixfree.min.js"></script>
    <script src="../Scripts/index.js"></script>
    <link href="../../Styles/lk.css" rel="stylesheet" type="text/css" />
     <style>
    .name
{
    position:relative;
    top:55px; 
    font:14px;
}
    </style>
</head>

<body>
    <form id="form1" runat="server">
    <div>
     <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
     <div class="login_box" style="margin-left:170px;margin-top:50px;"> <span id="moveright1" >IBMS修改密码</span><br />
        <label for="username">用&nbsp;&nbsp;户&nbsp;&nbsp;名：</label>&nbsp;&nbsp;&nbsp;
         <asp:Label ID="name" runat="server" CssClass="name" Text="太太他太太 " 
             Font-Size="X-Large"></asp:Label>
        <br />
        <label for="pwd">旧&nbsp;&nbsp;密&nbsp;&nbsp;码：</label>
        <asp:TextBox runat="server" ID="password" placeholder="请输入旧密码" TextMode="Password"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" CssClass="vali1" ErrorMessage="密码不能为空" ControlToValidate="password" Display="Dynamic"></asp:RequiredFieldValidator>
          <asp:Label ID="Label2" runat="server" Text="密码错误"  BackColor="Red" CssClass="vali1" Visible="false"></asp:Label>
        
        <br />
        <label for="pwd">新&nbsp;&nbsp;密&nbsp;&nbsp;码：</label>
        <asp:TextBox runat="server" ID="newPassword1" placeholder="请输入新的密码" TextMode="Password"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" CssClass="vali1" ErrorMessage="密码不能为空" ControlToValidate="newPassword1" Display="Dynamic"></asp:RequiredFieldValidator>
        <br/>

        <label for="pwd">确认新密码：</label>
        <asp:TextBox runat="server" ID="newPassword2" placeholder="请重新输入新的密码" TextMode="Password"></asp:TextBox>
         <asp:CompareValidator ID="CompareValidator1" runat="server" CssClass="vali1" ErrorMessage="确认密码不相符" ControlToValidate="newPassword2" ControlToCompare="newPassword1"></asp:CompareValidator>
        <br/>
        
        
        &nbsp;&nbsp;&nbsp;&nbsp;<asp:Button ID="btn_save" runat="server"  Text="修   改"   
             CssClass="button1" OnClick="btn_save_Click" />
        </div>
    </div>
    </form>
</body>
</html>
